package com.power.service;

import com.power.ov.ResultData;
import com.power.ov.ResultDataTable;
import com.power.pojo.Defecttype;
import com.power.pojo.Sovle;

import java.sql.SQLException;

/**
 * Created/**
 * Created with IntelliJ IDEA.
 * User: lh
 * Date: 2020/10/03 14:32
 * Description:
 * Version: V1.0
 */

public interface DefectAdService {
    ResultDataTable queryEmployeeList(int currentPage, int pageSize) throws SQLException;

    ResultDataTable defectGrade(int currentPage, int pageSize)throws SQLException;

    int delDefectById(String defect_state,String defect_id) throws SQLException;

    ResultData updateDefecttype(Defecttype defecttype)throws SQLException;

    int addDefecttype(Defecttype defecttype)throws SQLException;

    ResultData updateGrade(String defect_grade,String task_id)throws SQLException;

    ResultDataTable querySolveTask(int currentPage, int pageSize)throws SQLException;

    int addSovle(Sovle sovle)throws SQLException;

    ResultData updateYesNo(String sovle_task, int is_delete)throws SQLException;

    ResultDataTable queryOption()throws SQLException;

    ResultData addSovleAccount(String sovle_account, String sovle_task)throws SQLException;
}
